///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Feb 17 2010)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "ttcodeProjectNavi.h"

///////////////////////////////////////////////////////////////////////////

PanelProjectNavi::PanelProjectNavi( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
{
	wxBoxSizer* bSizer1;
	bSizer1 = new wxBoxSizer( wxVERTICAL );
	
	m_auinotebookProjectNavi = new wxAuiNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0|wxNO_BORDER );
	m_panel1 = new wxPanel( m_auinotebookProjectNavi, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL );
	wxBoxSizer* bSizer2;
	bSizer2 = new wxBoxSizer( wxVERTICAL );
	
	m_treeCtrlDocument = new wxTreeCtrl( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxTR_HIDE_ROOT|wxNO_BORDER );
	bSizer2->Add( m_treeCtrlDocument, 1, wxALL|wxEXPAND, 5 );
	
	m_panel1->SetSizer( bSizer2 );
	m_panel1->Layout();
	bSizer2->Fit( m_panel1 );
	m_auinotebookProjectNavi->AddPage( m_panel1, wxT("Documents"), true, wxNullBitmap );
	m_panel2 = new wxPanel( m_auinotebookProjectNavi, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL );
	wxBoxSizer* bSizer3;
	bSizer3 = new wxBoxSizer( wxVERTICAL );
	
	m_treeCtrlTarget = new wxTreeCtrl( m_panel2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxTR_HIDE_ROOT|wxNO_BORDER );
	bSizer3->Add( m_treeCtrlTarget, 1, wxALL|wxEXPAND, 5 );
	
	m_panel2->SetSizer( bSizer3 );
	m_panel2->Layout();
	bSizer3->Fit( m_panel2 );
	m_auinotebookProjectNavi->AddPage( m_panel2, wxT("Target"), false, wxNullBitmap );
	
	bSizer1->Add( m_auinotebookProjectNavi, 1, wxEXPAND | wxALL, 5 );
	
	this->SetSizer( bSizer1 );
	this->Layout();
	
	// Connect Events
	m_treeCtrlDocument->Connect( wxEVT_COMMAND_TREE_BEGIN_DRAG, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeBeginDrag ), NULL, this );
	m_treeCtrlDocument->Connect( wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeBeginLabelEdit ), NULL, this );
	m_treeCtrlDocument->Connect( wxEVT_COMMAND_TREE_DELETE_ITEM, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeDeleteItem ), NULL, this );
	m_treeCtrlDocument->Connect( wxEVT_COMMAND_TREE_END_DRAG, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeEndDrag ), NULL, this );
	m_treeCtrlDocument->Connect( wxEVT_COMMAND_TREE_END_LABEL_EDIT, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeEndLabelEdit ), NULL, this );
	m_treeCtrlDocument->Connect( wxEVT_COMMAND_TREE_ITEM_ACTIVATED, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeItemActivated ), NULL, this );
	m_treeCtrlDocument->Connect( wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeItemRightClick ), NULL, this );
	m_treeCtrlDocument->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeSelChanged ), NULL, this );
	m_treeCtrlDocument->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnUpdateUI ), NULL, this );
	m_treeCtrlTarget->Connect( wxEVT_COMMAND_TREE_BEGIN_DRAG, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeBeginDrag ), NULL, this );
	m_treeCtrlTarget->Connect( wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeBeginLabelEdit ), NULL, this );
	m_treeCtrlTarget->Connect( wxEVT_COMMAND_TREE_DELETE_ITEM, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeDeleteItem ), NULL, this );
	m_treeCtrlTarget->Connect( wxEVT_COMMAND_TREE_END_DRAG, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeEndDrag ), NULL, this );
	m_treeCtrlTarget->Connect( wxEVT_COMMAND_TREE_END_LABEL_EDIT, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeEndLabelEdit ), NULL, this );
	m_treeCtrlTarget->Connect( wxEVT_COMMAND_TREE_ITEM_ACTIVATED, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeItemActivated ), NULL, this );
	m_treeCtrlTarget->Connect( wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeItemRightClick ), NULL, this );
	m_treeCtrlTarget->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeSelChanged ), NULL, this );
	m_treeCtrlTarget->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( PanelProjectNavi::m_treeCtrlTargetOnUpdateUI ), NULL, this );
}

PanelProjectNavi::~PanelProjectNavi()
{
	// Disconnect Events
	m_treeCtrlDocument->Disconnect( wxEVT_COMMAND_TREE_BEGIN_DRAG, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeBeginDrag ), NULL, this );
	m_treeCtrlDocument->Disconnect( wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeBeginLabelEdit ), NULL, this );
	m_treeCtrlDocument->Disconnect( wxEVT_COMMAND_TREE_DELETE_ITEM, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeDeleteItem ), NULL, this );
	m_treeCtrlDocument->Disconnect( wxEVT_COMMAND_TREE_END_DRAG, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeEndDrag ), NULL, this );
	m_treeCtrlDocument->Disconnect( wxEVT_COMMAND_TREE_END_LABEL_EDIT, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeEndLabelEdit ), NULL, this );
	m_treeCtrlDocument->Disconnect( wxEVT_COMMAND_TREE_ITEM_ACTIVATED, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeItemActivated ), NULL, this );
	m_treeCtrlDocument->Disconnect( wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeItemRightClick ), NULL, this );
	m_treeCtrlDocument->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnTreeSelChanged ), NULL, this );
	m_treeCtrlDocument->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( PanelProjectNavi::m_treeCtrlDocumentOnUpdateUI ), NULL, this );
	m_treeCtrlTarget->Disconnect( wxEVT_COMMAND_TREE_BEGIN_DRAG, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeBeginDrag ), NULL, this );
	m_treeCtrlTarget->Disconnect( wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeBeginLabelEdit ), NULL, this );
	m_treeCtrlTarget->Disconnect( wxEVT_COMMAND_TREE_DELETE_ITEM, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeDeleteItem ), NULL, this );
	m_treeCtrlTarget->Disconnect( wxEVT_COMMAND_TREE_END_DRAG, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeEndDrag ), NULL, this );
	m_treeCtrlTarget->Disconnect( wxEVT_COMMAND_TREE_END_LABEL_EDIT, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeEndLabelEdit ), NULL, this );
	m_treeCtrlTarget->Disconnect( wxEVT_COMMAND_TREE_ITEM_ACTIVATED, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeItemActivated ), NULL, this );
	m_treeCtrlTarget->Disconnect( wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeItemRightClick ), NULL, this );
	m_treeCtrlTarget->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( PanelProjectNavi::m_treeCtrlTargetOnTreeSelChanged ), NULL, this );
	m_treeCtrlTarget->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( PanelProjectNavi::m_treeCtrlTargetOnUpdateUI ), NULL, this );
	
}
